package neu.soft.service.impl;

import neu.soft.mapper.DIRelationMapper;
import neu.soft.service.DIRelationService;
import neu.soft.vo.ResultBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class DIRelationServiceImpl implements DIRelationService {
    @Autowired
    private DIRelationMapper diRelationMapper;

    public ResultBean<Integer> addDIRelation(Map<String,Object> map){
        diRelationMapper.addDIRelation(map);
        return ResultBean.success();
    }
}
